package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * ApiResponseAccountListData
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiResponseAccountListData   {
  @JsonProperty("customerId")
  private String customerId = null;

  @JsonProperty("ordFundId")
  private String ordFundId = null;

  @JsonProperty("crdFundId")
  private String crdFundId = null;

  @JsonProperty("optFundId")
  private String optFundId = null;

  public ApiResponseAccountListData customerId(String customerId) {
    this.customerId = customerId;
    return this;
  }

  /**
   * 客户号
   * @return customerId
  **/
  @ApiModelProperty(example = "12345678", value = "客户号")


  public String getCustomerId() {
    return customerId;
  }

  public void setCustomerId(String customerId) {
    this.customerId = customerId;
  }

  public ApiResponseAccountListData ordFundId(String ordFundId) {
    this.ordFundId = ordFundId;
    return this;
  }

  /**
   * 普通交易资金账户
   * @return ordFundId
  **/
  @ApiModelProperty(example = "12345678", value = "普通交易资金账户")


  public String getOrdFundId() {
    return ordFundId;
  }

  public void setOrdFundId(String ordFundId) {
    this.ordFundId = ordFundId;
  }

  public ApiResponseAccountListData crdFundId(String crdFundId) {
    this.crdFundId = crdFundId;
    return this;
  }

  /**
   * 信用交易资金账户
   * @return crdFundId
  **/
  @ApiModelProperty(example = "12345678", value = "信用交易资金账户")


  public String getCrdFundId() {
    return crdFundId;
  }

  public void setCrdFundId(String crdFundId) {
    this.crdFundId = crdFundId;
  }

  public ApiResponseAccountListData optFundId(String optFundId) {
    this.optFundId = optFundId;
    return this;
  }

  /**
   * 期权交易资金账户
   * @return optFundId
  **/
  @ApiModelProperty(example = "12345678", value = "期权交易资金账户")


  public String getOptFundId() {
    return optFundId;
  }

  public void setOptFundId(String optFundId) {
    this.optFundId = optFundId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiResponseAccountListData apiResponseAccountListData = (ApiResponseAccountListData) o;
    return Objects.equals(this.customerId, apiResponseAccountListData.customerId) &&
        Objects.equals(this.ordFundId, apiResponseAccountListData.ordFundId) &&
        Objects.equals(this.crdFundId, apiResponseAccountListData.crdFundId) &&
        Objects.equals(this.optFundId, apiResponseAccountListData.optFundId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(customerId, ordFundId, crdFundId, optFundId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiResponseAccountListData {\n");
    
    sb.append("    customerId: ").append(toIndentedString(customerId)).append("\n");
    sb.append("    ordFundId: ").append(toIndentedString(ordFundId)).append("\n");
    sb.append("    crdFundId: ").append(toIndentedString(crdFundId)).append("\n");
    sb.append("    optFundId: ").append(toIndentedString(optFundId)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

